﻿<?
	
	require_once('../cnn/conn.php'); 		// -> Conexão com a base de dados 
	include_once('../config/funcoes.php'); 	// -> Funções em geral
	include_once('../config/config.php');	// -> Defines e etc.
	
	
	// Importando as Folhas de estilos e os Scripts
	$css	 = array(		   "jquery_alerts", "jquery_validation", "jquery_ui", "jquery_noty");
	$scripts = array("jquery", "jquery_alerts", "jquery_validation", "jquery_ui", "jquery_noty");
	
	includeCss($css);
	includeScripts($scripts);
	
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?=TITULO?></title>


	<!--[if gte IE 9]>
      <style type="text/css">
        .gradient {
           filter: none;
        }
      </style>
    <![endif]-->
    
	<link type="text/css" rel="stylesheet" href="index.css" />
    
</head>

<body>

    <div id="page">
        
        <div id="header">
        
        </div>
        
        <div id="menu" class="gradient"> 
            <?
            include('menu.php');
            ?>
        </div>
        
        <div id="corpo">
            
            <?
            if ( isset($_GET['page']) )
            {
                switch ( strtolower($_GET['page']) )
                {
                    case "quest":
                        include('../questionario/questionario.php');
                    break;
                    
                }
            } 
            ?>
        
        </div>
    </div>  
    
</body>
</html>